.class public Lcom/h2/org/springframework/beans/Bean;
.super Ljava/lang/Object;
.source "Bean.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/h2/org/springframework/beans/Bean$BeanType;
    }
.end annotation


# instance fields
.field private _abstract:Ljava/lang/Boolean;

.field private _beanProperties:Ljava/util/Collection;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Collection",
            "<",
            "Lcom/h2/org/springframework/beans/IValueBean;",
            ">;"
        }
    .end annotation
.end field

.field private _clazz:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation
.end field

.field private _clazzName:Ljava/lang/String;

.field private _constructorArgs:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/h2/org/springframework/beans/ConstructorArg;",
            ">;"
        }
    .end annotation
.end field

.field private _dependsOn:Ljava/lang/String;

.field private _factoryBean:Ljava/lang/String;

.field private _factoryMethod:Ljava/lang/String;

.field private _id:Ljava/lang/String;

.field private _initMethod:Ljava/lang/String;

.field private _instantiatedObject:Ljava/lang/Object;

.field private _name:Ljava/lang/String;

.field private _parent:Ljava/lang/String;

.field private _properties:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private _scope:Ljava/lang/String;

.field private _type:Lcom/h2/org/springframework/beans/Bean$BeanType;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 53
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 48
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_constructorArgs:Ljava/util/List;

    .line 55
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1
    .parameter "id"
    .parameter "clazzName"

    .prologue
    .line 57
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 48
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_constructorArgs:Ljava/util/List;

    .line 58
    invoke-virtual {p0, p1}, Lcom/h2/org/springframework/beans/Bean;->setId(Ljava/lang/String;)V

    .line 59
    invoke-virtual {p0, p2}, Lcom/h2/org/springframework/beans/Bean;->setClazzName(Ljava/lang/String;)V

    .line 60
    return-void
.end method


# virtual methods
.method public getAbstract()Ljava/lang/Boolean;
    .locals 1

    .prologue
    .line 144
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_abstract:Ljava/lang/Boolean;

    return-object v0
.end method

.method public getBeanProperties()Ljava/util/Collection;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Collection",
            "<",
            "Lcom/h2/org/springframework/beans/IValueBean;",
            ">;"
        }
    .end annotation

    .prologue
    .line 200
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_beanProperties:Ljava/util/Collection;

    return-object v0
.end method

.method public getClazz()Ljava/lang/Class;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation

    .prologue
    .line 228
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_clazz:Ljava/lang/Class;

    return-object v0
.end method

.method public getClazzName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 102
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_clazzName:Ljava/lang/String;

    return-object v0
.end method

.method public getConstructorArgs()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lcom/h2/org/springframework/beans/ConstructorArg;",
            ">;"
        }
    .end annotation

    .prologue
    .line 294
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_constructorArgs:Ljava/util/List;

    return-object v0
.end method

.method public getDependsOn()Ljava/lang/String;
    .locals 1

    .prologue
    .line 280
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_dependsOn:Ljava/lang/String;

    return-object v0
.end method

.method public getFactoryBean()Ljava/lang/String;
    .locals 1

    .prologue
    .line 252
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_factoryBean:Ljava/lang/String;

    return-object v0
.end method

.method public getFactoryMethod()Ljava/lang/String;
    .locals 1

    .prologue
    .line 266
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_factoryMethod:Ljava/lang/String;

    return-object v0
.end method

.method public getId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 74
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_id:Ljava/lang/String;

    return-object v0
.end method

.method public getInitMethod()Ljava/lang/String;
    .locals 1

    .prologue
    .line 158
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_initMethod:Ljava/lang/String;

    return-object v0
.end method

.method public getInstantiatedObject()Ljava/lang/Object;
    .locals 1

    .prologue
    .line 214
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_instantiatedObject:Ljava/lang/Object;

    return-object v0
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 88
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_name:Ljava/lang/String;

    return-object v0
.end method

.method public getNameResolved()Ljava/lang/String;
    .locals 1

    .prologue
    .line 239
    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getId()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 240
    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getId()Ljava/lang/String;

    move-result-object v0

    .line 245
    :goto_0
    return-object v0

    .line 242
    :cond_0
    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getName()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 243
    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getName()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 245
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public getParent()Ljava/lang/String;
    .locals 1

    .prologue
    .line 116
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_parent:Ljava/lang/String;

    return-object v0
.end method

.method public getProperties()Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .prologue
    .line 172
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_properties:Ljava/util/Map;

    return-object v0
.end method

.method public getScope()Ljava/lang/String;
    .locals 1

    .prologue
    .line 130
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_scope:Ljava/lang/String;

    return-object v0
.end method

.method public getType()Lcom/h2/org/springframework/beans/Bean$BeanType;
    .locals 1

    .prologue
    .line 186
    iget-object v0, p0, Lcom/h2/org/springframework/beans/Bean;->_type:Lcom/h2/org/springframework/beans/Bean$BeanType;

    return-object v0
.end method

.method public setAbstract(Ljava/lang/Boolean;)V
    .locals 0
    .parameter "abstract1"

    .prologue
    .line 151
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_abstract:Ljava/lang/Boolean;

    .line 152
    return-void
.end method

.method public setBeanProperties(Ljava/util/Collection;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection",
            "<",
            "Lcom/h2/org/springframework/beans/IValueBean;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 207
    .local p1, beanProperties:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/IValueBean;>;"
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_beanProperties:Ljava/util/Collection;

    .line 208
    return-void
.end method

.method public setClazz(Ljava/lang/Class;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;)V"
        }
    .end annotation

    .prologue
    .line 235
    .local p1, clazz:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_clazz:Ljava/lang/Class;

    .line 236
    return-void
.end method

.method public setClazzName(Ljava/lang/String;)V
    .locals 0
    .parameter "class1"

    .prologue
    .line 109
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_clazzName:Ljava/lang/String;

    .line 110
    return-void
.end method

.method public setConstructorArgs(Ljava/util/List;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/h2/org/springframework/beans/ConstructorArg;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 301
    .local p1, constructorArgs:Ljava/util/List;,"Ljava/util/List<Lcom/h2/org/springframework/beans/ConstructorArg;>;"
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_constructorArgs:Ljava/util/List;

    .line 302
    return-void
.end method

.method public setDependsOn(Ljava/lang/String;)V
    .locals 0
    .parameter "dependsOn"

    .prologue
    .line 287
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_dependsOn:Ljava/lang/String;

    .line 288
    return-void
.end method

.method public setFactoryBean(Ljava/lang/String;)V
    .locals 0
    .parameter "factoryBean"

    .prologue
    .line 259
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_factoryBean:Ljava/lang/String;

    .line 260
    return-void
.end method

.method public setFactoryMethod(Ljava/lang/String;)V
    .locals 0
    .parameter "factoryMethod"

    .prologue
    .line 273
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_factoryMethod:Ljava/lang/String;

    .line 274
    return-void
.end method

.method public setId(Ljava/lang/String;)V
    .locals 0
    .parameter "id"

    .prologue
    .line 81
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_id:Ljava/lang/String;

    .line 82
    return-void
.end method

.method public setInitMethod(Ljava/lang/String;)V
    .locals 0
    .parameter "initMethod"

    .prologue
    .line 165
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_initMethod:Ljava/lang/String;

    .line 166
    return-void
.end method

.method public setInstantiatedObject(Ljava/lang/Object;)V
    .locals 0
    .parameter "instantiatedObject"

    .prologue
    .line 221
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_instantiatedObject:Ljava/lang/Object;

    .line 222
    return-void
.end method

.method public setName(Ljava/lang/String;)V
    .locals 0
    .parameter "name"

    .prologue
    .line 95
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_name:Ljava/lang/String;

    .line 96
    return-void
.end method

.method public setParent(Ljava/lang/String;)V
    .locals 0
    .parameter "parent"

    .prologue
    .line 123
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_parent:Ljava/lang/String;

    .line 124
    return-void
.end method

.method public setProperties(Ljava/util/Map;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 179
    .local p1, properties:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_properties:Ljava/util/Map;

    .line 180
    return-void
.end method

.method public setScope(Ljava/lang/String;)V
    .locals 0
    .parameter "scope"

    .prologue
    .line 137
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_scope:Ljava/lang/String;

    .line 138
    return-void
.end method

.method public setType(Lcom/h2/org/springframework/beans/Bean$BeanType;)V
    .locals 0
    .parameter "type"

    .prologue
    .line 193
    iput-object p1, p0, Lcom/h2/org/springframework/beans/Bean;->_type:Lcom/h2/org/springframework/beans/Bean$BeanType;

    .line 194
    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 4

    .prologue
    .line 64
    const-string v0, "Bean: %s %s %s"

    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    .line 65
    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getId()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    const/4 v2, 0x1

    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getName()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    const/4 v2, 0x2

    invoke-virtual {p0}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    .line 64
    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
